﻿using System;

namespace Social_Network_Analyzer
{
    class Person
    {
        private string _name;
        private int _vertexId;

        /// <summary>
        /// Represents a person in the graph.
        /// </summary>
        /// <param name="vertexId">Their vertexId in the graph.</param>
        /// <param name="name">Their name.</param>
        public Person(int vertexId, string name)
        {
            this._name = name;
            this._vertexId = vertexId;
        }

        public string name
        {
            get
            {
                return _name;
            }
        }

        public int vertexId
        {
            get
            {
                return _vertexId;
            }
        }
    }
}
